package com.ks.entity;

import com.ks.base.BaseEntity;

import java.util.Date;

public class Paper extends BaseEntity {

    private java.lang.Integer id;//
    private java.lang.Integer depository_id;
    private java.lang.String title;// 试卷名称
    private java.lang.String paperinfo;// 试题序号
    private java.lang.String score;// 试卷分值
    private java.lang.String passline;// 及格线
    private java.lang.String flag;// 难中易
    private java.lang.String status;// 难中易
    private java.lang.String duration;// 试卷答题时间
    private java.lang.String method;// 生成试卷的方式：自动生成/手动选择
    private java.util.Date createtime;//
    private java.lang.Integer creater;// 创建人id
    private java.util.Date updatetime;//
    private java.lang.Integer updater;// 编辑人
    private java.lang.String extend;//
    private String createtimeStr;
    private Integer Count;//数量

    public Integer getCount() {
        return Count;
    }

    public void setCount(Integer count) {
        Count = count;
    }

    public String getCreatetimeStr() {
        return createtimeStr;
    }

    public void setCreatetimeStr(String createtimeStr) {
        this.createtimeStr = createtimeStr;
    }

    public java.lang.Integer getId() {
        return this.id;
    }

    public void setId(java.lang.Integer id) {
        this.id = id;
    }

    public java.lang.String getTitle() {
        return this.title;
    }

    public void setTitle(java.lang.String title) {
        this.title = title;
    }

    public java.lang.String getScore() {
        return this.score;
    }

    public void setScore(java.lang.String score) {
        this.score = score;
    }

    public java.lang.String getPassline() {
        return this.passline;
    }

    public void setPassline(java.lang.String passline) {
        this.passline = passline;
    }

    public java.lang.String getFlag() {
        return this.flag;
    }

    public void setFlag(java.lang.String flag) {
        this.flag = flag;
    }

    public java.lang.String getDuration() {
        return this.duration;
    }

    public void setDuration(java.lang.String duration) {
        this.duration = duration;
    }

    public java.lang.String getMethod() {
        return this.method;
    }

    public void setMethod(java.lang.String method) {
        this.method = method;
    }

    public java.util.Date getCreatetime() {
        return this.createtime;
    }

    public void setCreatetime(java.util.Date createtime) {
        this.createtime = createtime;
    }

    public java.lang.Integer getCreater() {
        return this.creater;
    }

    public void setCreater(java.lang.Integer creater) {
        this.creater = creater;
    }

    public java.util.Date getUpdatetime() {
        return this.updatetime;
    }

    public void setUpdatetime(java.util.Date updatetime) {
        this.updatetime = updatetime;
    }

    public java.lang.Integer getUpdater() {
        return this.updater;
    }

    public void setUpdater(java.lang.Integer updater) {
        this.updater = updater;
    }

    public java.lang.String getExtend() {
        return this.extend;
    }

    public void setExtend(java.lang.String extend) {
        this.extend = extend;
    }

    public java.lang.String getPaperinfo() {
        return paperinfo;
    }

    public void setPaperinfo(java.lang.String paperinfo) {
        this.paperinfo = paperinfo;
    }

    public java.lang.Integer getDepository_id() {
        return depository_id;
    }

    public void setDepository_id(java.lang.Integer depository_id) {
        this.depository_id = depository_id;
    }

    public java.lang.String getStatus() {
        return status;
    }

    public void setStatus(java.lang.String status) {
        this.status = status;
    }

    public static class PaperQuestiontype extends BaseEntity {

        private Integer id;//
        private Integer paper_id;//
        private Integer questiontype_id;//
        private String count;// 该类型题的数量
        private String score;// 该类型题的分数
        private String rate;// 该类型难题的占比
        private String easyrate;//该类型易题的占比
        private Date createtime;
        public String getEasyrate() {
            return easyrate;
        }
        public void setEasyrate(String easyrate) {
            this.easyrate = easyrate;
        }

        public Integer getId() {
            return this.id;
        }

        public void setId(Integer id) {
            this.id = id;
        }

        public Integer getPaper_id() {
            return this.paper_id;
        }

        public void setPaper_id(Integer paper_id) {
            this.paper_id = paper_id;
        }

        public Integer getQuestiontype_id() {
            return this.questiontype_id;
        }

        public void setQuestiontype_id(Integer questiontype_id) {
            this.questiontype_id = questiontype_id;
        }

        public String getCount() {
            return this.count;
        }

        public void setCount(String count) {
            this.count = count;
        }

        public String getScore() {
            return score;
        }

        public void setScore(String score) {
            this.score = score;
        }

        public String getRate() {
            return rate;
        }

        public void setRate(String rate) {
            this.rate = rate;
        }

        public Date getCreatetime() {
            return createtime;
        }

        public void setCreatetime(Date createtime) {
            this.createtime = createtime;
        }

        @Override
        public String toString() {
            return "PaperQuestiontype{" +
                    "id=" + id +
                    ", paper_id=" + paper_id +
                    ", questiontype_id=" + questiontype_id +
                    ", count='" + count + '\'' +
                    ", score='" + score + '\'' +
                    ", rate='" + rate + '\'' +
                    ", easyrate='" + easyrate + '\'' +
                    ", createtime=" + createtime +
                    '}';
        }
    }
}
